package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class appUserVo {

    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long id;

    /** 账号或邮箱 */
    @Excel(name = "账号或邮箱")
    private String account;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private Long workplaceId;

    /** 科室 */
    @Excel(name = "科室")
    private String department;

    @Excel(name="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    @Excel(name = "研究Id")
    private Integer researchId;

    @Excel(name="单位名称")
    private String hospName;
}
